package com.cxp.tour.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author tour
 * @since 2024-12-14
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="ScenicLine对象", description="")
public class ScenicLine implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "景点路线主键id,自增")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "景点ID")
    private Integer scenicId;

    @ApiModelProperty(value = "路线封面图")
    private String cover;

    @ApiModelProperty(value = "路线描述")
    private String detail;

    @ApiModelProperty(value = "层级")
    private Integer level;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;


}
